public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			char[] sr = { 0x0E, 0x48, 0x37, 0xC3 };
			String src = new String(sr);
			String comp = "H7�";
			System.out.println(isH7Compress(comp));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	static boolean isH7Compress(String compressType) {
		char[] chars = compressType.toCharArray();
		return chars.length >= 4 & chars[0] == 0x0E & chars[1] == 0x48 & chars[2] == 0x37 & chars[3] == 0xC3;
	}
}
